<?php

namespace app\api\controller;
use think\Controller;
use app\api\model\CountryMobilePrefix AS CountryMobilePrefixModel;
use app\common\controller\Send;

class CountryMobilePrefix extends Controller
{
    use Send;
    /**
     * 国际区号列表
     * @return array
     * @throws \think\Exception\DbException
     */
    public function index()
    {
        $model = CountryMobilePrefixModel::getList();
        
        return self::sendResult(self::$okCode, $model);
    }
}